home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
etc
/
init.d
/
msfweb
< prev
next >
Wrap
Text File
|
2006-06-30
|
528b
|
20 lines
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/files/msfweb.initd,v 1.2 2005/04/27 12:01:41 ka0ttic Exp $
start() {
ebegin "Starting msfweb"
start-stop-daemon --start --quiet --exec /usr/bin/msfweb \
-- ${MSF_OPTS} >/dev/null 2>&1 &
echo $! > ${PIDFILE}
eend $?
}
stop() {
ebegin "Stopping msfweb"
start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
rm -f ${PIDFILE}
eend $?
}